package cn.enilu.guns.bean.entity.door;


import lombok.Data;
import cn.enilu.guns.bean.entity.BaseEntity;
import org.hibernate.annotations.Table;
import javax.persistence.Column;
import javax.persistence.Entity;

@Entity(name="t_event_type")
@Table(appliesTo = "t_event_type",comment = "null")
@Data
public class EventType extends BaseEntity {

	/**
	 * 
	 */
	@Column(columnDefinition = " INT(10) COMMENT ''")
	private Integer version;

	/**
	 * 事件代码
	 */
	@Column(columnDefinition = " VARCHAR(10) COMMENT '事件代码'")
	private String eventCode;

	/**
	 * 事件名称
	 */
	@Column(columnDefinition = " VARCHAR(255) COMMENT '事件名称'")
	private String eventName;

	/**
	 * 事件类型  0:正常1:异常
	 */
	@Column(columnDefinition = " VARCHAR(2) COMMENT '事件类型  0:正常1:异常'")
	private String eventStatus;

	/**
	 * 事件说明
	 */
	@Column(columnDefinition = " VARCHAR(255) COMMENT '事件说明'")
	private String memo;


}
